package com.example.bookshop.entity;

//该类用于返回商品的部分信息
public class BaseGoods {
    private int id;//商品编号
    private String goodsName;//商品名称
    private String photo;//商品图片
    private float price;//商品金额

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}
